From: Benjamin Otte Date: Sat, 14 Jan 2012 15:58:52 +0000 (+0100) Subject: csslookup: Query the bitmask X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~39^2~18208 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=e4c2d9b25958f608717bd79b49aef941b312fada;p=gtk%2B3.0.git csslookup: Query the bitmask Checking if the value is NULL is the wrong thing to do - the bitmask is usd to keep track of that. The reason for that will become apparent in the next patch. --- diff --git a/gtk/gtkcsslookup.c b/gtk/gtkcsslookup.c index 76bdb484d3..fce852845a 100644 --- a/gtk/gtkcsslookup.c +++ b/gtk/gtkcsslookup.c @@ -72,7 +72,7 @@ _gtk_css_lookup_is_missing (const GtkCssLookup *lookup, { g_return_val_if_fail (lookup != NULL, FALSE); - return lookup->values[id].value == NULL; + return _gtk_bitmask_get (lookup->missing, id); } /**